<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="utf-8">
    <title>设备列表</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">

    <meta http-equiv="Pragma"   content= "no-cache" /> 
    <meta http-equiv= "Cache-Control"   content= "no-cache" /> 
    <meta http-equiv= "Expires"   content= "0" />

    <link rel="stylesheet" href="/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="/layui/style/admin.css" media="all" />
</head>
<body class="childrenBody">
  <input id="mchUserId" type="hidden" th:value="${userId}" >
<blockquote class="layui-elem-quote news_search">
    <div class="layui-form-item queryTable">

        <div class="layui-input-inline">
            <a class="layui-btn enterpriseTerminalAdd_btn" style="background-color:#5FB878">添加设备</a>
        </div>
    </div>




</blockquote>
<table class="layui-hide" id="enterprise_Terminal_table" lay-filter="enterprise_Terminal_table"></table>


<div id="add_enterpriseTerminal_win" style="display: none;">
    <form id="add_enterpriseTerminal_form" class="layui-form" action="" lay-filter="add_enterpriseTerminal_form">
        <input type="hidden" name="id" />

        <div class="layui-form-item">
            <label class="layui-form-label">设备类型</label>
            <div class="layui-input-block">
                <select name="type">
                    <option value="WECHAT">微信</option>
                    <option value="ALIPAY">支付宝</option>
                    <option value="QRCODE">收款码</option>
                </select>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">设备序号</label>
            <div class="layui-input-block">
                <input type="text" name="sn" required  lay-verify="required" value="" placeholder="设备序号" autocomplete="off" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-input-block">
                <button class="layui-btn"  lay-submit lay-filter="addenterpriseTerminalOk">立即提交</button>
                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
        </div>
    </form>

</div>


<div id="bing_store_win" style="display: none;">
    <form id="bing_store_form" class="layui-form" action="" lay-filter="bing_store_form">
        <div class="layui-form-item">
            <label class="layui-form-label">设备ID</label>
            <div class="layui-input-block">
                <input type="text" name="id" readonly required  lay-verify="required" value="" placeholder="设备ID" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">门店</label>
            <div class="layui-input-block">
                <select  name="storeId" autocomplete="off" class="layui-input">
                </select>
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-input-block">
                <button class="layui-btn"  lay-submit lay-filter="bingStotreOk">立即提交</button>
                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
        </div>
    </form>

</div>


<script type="text/javascript" src="/js/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="/js/common.js"></script>
<script type="text/javascript" src="/layui/layui.js"></script>
<script type="text/javascript" src="/js/MathUtils.js"></script>
<script src="/js/agency/mch_terminal.js"></script>


</body>
</html>